﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

/// <summary>
/// Summary description for ClassPhieuMuaHang
/// </summary>
public class ClassPhieuMuaHang
{
	public ClassPhieuMuaHang()
	{
		
	}
    public ClassPhieuMuaHang(string mahang,string tenhang, float soluong, float gia,bool linetype)
    {
        this.MaHang = mahang;
        this.TenHang = tenhang;
        this.SoLuong = soluong;
        this.Gia = gia;
        this.LineType = linetype;
    }
    private bool LineType;

    public bool LineType1
    {
        get { return LineType; }
        set { LineType = value; }
    }
    private string MaHang;

    public string MaHang1
    {
        get { return MaHang; }
        set { MaHang = value; }
    }

    private string TenHang;

    public string TenHang1
    {
        get { return TenHang; }
        set { TenHang = value; }
    }
    private float SoLuong;

    public float SoLuong1
    {
        get { return SoLuong; }
        set { SoLuong = value; }
    }
    private float Gia;

    public float Gia1
    {
        get { return Gia; }
        set { Gia = value; }
    }
    private float ThanhTien;

    public float ThanhTien1
    {
        get
        {
            return SoLuong * Gia; 
        }
       
    }
  
}
